package com.woniu.zsd.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableFeignClients("com.woniu")
@EnableTransactionManagement
@ComponentScan(basePackages = {"com.woniu.zsd.order", "com.woniu.commons"})
@MapperScan("com.woniu.zsd.order.mapper")
public class OrderStart {

    public static void main(String[] args){
        SpringApplication.run(OrderStart.class, args);
    }

}
